/**
 * 创建外壳组件App
 */
import React from "react";
//组件标签必须是大写
// import Hello from './components/Hello/hello'
// import Welcome from "./components/Welcome/welcome";
// import Exercise from './components/Exercise-jsx/exerxciseJsx'
// import Text from './components/Exercise-jsx/exerTest'
// import Weather from './components/State/State'
// import Props from './components/Props/Props'
// import RefsString from './components/Refs/refsString'
// import  RefCallback from './components/Refs/refCallback'
// import  CreateRef from './components/Refs/CreateRef'
// import  Event from './components/Event/event'
// import deControlComponents from './components/deControlComponents/deControlComponents'
// import ControlComponents from './components/ControlComponents/ControlComConents'
// import HigherOrderAndCurrying from './components/HigherOrderAndCurrying/HigherOrderAndCurrying'
import LifeCycleOld from './components/Life_CycleOld/LifeCycleOld'
/**
 * 类创建App组件
 */
class App extends React.Component {
    Props = {name:'张三',age:10,sex:'男'}
render() {
  return(
      <div>
        {/*<Hello></Hello>*/}
        {/*  <Welcome></Welcome>*/}
        {/*  <Exercise></Exercise>*/}
        {/*  <Text></Text>*/}
        {/*  <Weather></Weather>*/}
        {/*  <Props {...this.Props}/>*/}
          {/*<RefsString></RefsString>*/}
          {/*<RefCallback></RefCallback>*/}
          {/*<CreateRef/>*/}
          {/*<Event/>*/}
          {/*<deControlComponents/>*/}
          {/*<ControlComponents/>*/}
          {/*<HigherOrderAndCurrying/>*/}
          <LifeCycleOld/>
      </div>
  )
}
}
export default App;
